#!/bin/bash

# Exit and NO Run option was chosen

if [ "$1" = "-n" ] ; then

  if [ ! -f /opt/hsc/data/nolocalecheck ] ; then
    touch /opt/hsc/data/nolocalecheck
    exit $?
  fi

else

#Exit and Run option was chosen

  if [ -f /opt/hsc/data/nolocalecheck ] ; then
    rm /opt/hsc/data/nolocalecheck
    exit $?
  fi

fi
exit 0
